<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
	public function success($message='',$jumpUrl='',$ajax=false)
	{
		header("content-type:text/html;charset=utf-8");
		echo '<script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>';
		echo '<script src="http://res.layui.com/lay/lib/layer/src/layer.js?v=1.93"></script>';
		$str=<<<str
		<script>
		$(function(){
			layer.alert("$message")
		})
</script>
str;
echo $str;
	}
    public function index(){
    	$this->display();
    }
    public function test($id=''){
    	
    }
}